//
//  PageContentView.h
//  集成ReactNative
//
//  Created by Admin on 2017/3/6.
//  Copyright © 2017年 Admin. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol pageViewControllerDelegate <NSObject>

@required

- (void)pageContentView:(UIView *)contentView Progress:(CGFloat)progress sourceIndex:(NSInteger)sourceIndex targetIndex:(NSInteger)targetIndex;

@end

@interface PageContentView : UIView
@property (nonatomic,weak) id <pageViewControllerDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame childVCs:(NSMutableArray *)childVCs parentViewController:(UIViewController *)parentViewController;
- (void)setCurrentIndex:(NSInteger)currentIndex;
@end
